package com.jhxx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author kkk
 * Date  2020-04-10
 */
@Service
public class SysAppVersionServiceImpl implements SysAppVersionService {
    @Autowired
    private SysAppVersionDao sysAppVersionDao;
    
    @Override
    public SysAppVersion get(String id){
        return sysAppVersionDao.get(id);
    }
    
    @Override
    public List<SysAppVersion> findList(SysAppVersion sysAppVersion) {
        return sysAppVersionDao.findList(sysAppVersion);
    }
    
    @Override
    public List<SysAppVersion> findAllList() {
        return sysAppVersionDao.findAllList();
    }
    
    @Override
    public int insert(SysAppVersion sysAppVersion) {
        return sysAppVersionDao.insert(sysAppVersion);
    }
    
    @Override
    public int insertBatch(List<SysAppVersion> sysAppVersions){
        return sysAppVersionDao.insertBatch(sysAppVersions);
    }
    
    @Override
    public int update(SysAppVersion sysAppVersion) {
        return sysAppVersionDao.update(sysAppVersion);
    }
    
    @Override
    public int delete(SysAppVersion sysAppVersion) {
        return sysAppVersionDao.delete(sysAppVersion);
    }

}
